package com.ssm.service.impl;

import com.ssm.service.CheckAnswerService;
import com.ssm.dao.CheckAnswerDao;

public class CheckAnswerServiceImpl implements CheckAnswerService {
    private CheckAnswerDao checkAnswerDao ;

    public void setCheckAnswerDao(CheckAnswerDao checkAnswerDao) {
        this.checkAnswerDao = checkAnswerDao;
    }

    public int checkAnswer(String problem, String answer) {
        return this.checkAnswerDao.checkAnswer(problem,answer);
    }
}
